package arraylistexer;

import java.util.ArrayList;

/**
 * @author tongchen
 * @create 2022-09-28 9:42
 */
public class PokerTest {
    public static void main(String[] args) {

        //对扑克牌游戏进行测试
        CardDemo cardDemo = new CardDemo();
        //买牌
        ArrayList<Poker> pokers = cardDemo.buyPoker();
        System.out.println(cardDemo.buyPoker());
        //洗牌
        System.out.println("***************************");
        cardDemo.shuffle(pokers);
        System.out.println(pokers);
        //发牌
        cardDemo.deal(pokers);
    }
}
